import {request} from "./core";
import {METHOD,path} from "./config";

const network = {
    getLogin(params) {
        return request(METHOD.POST, path.sign, params)
    },
    getHome(params) {
        return request(METHOD.POST, path.home, params)
    },
    getList(params) {
        return request(METHOD.POST, path.list, params)
    },
    getStus(params) {
        return request(METHOD.POST, path.stus, params)
    },
    getSear(params) {
        return request(METHOD.POST, path.sear, params)
    },
    getUser(params) {
        return request(METHOD.POST, path.user, params)
    },
    getDeta(params) {
        return request(METHOD.POST, path.deta, params)
    }
}

export default network;